﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MS.InformationManagement.Core.Support;
using MS.InformationManagement.Support.Constants;

namespace MS.InformationManagement.BLL.MenuLateral
{
    public class MenuLateral
    {
        public static Dictionary<string,Dictionary<string,string>> GetMenuLateralItems()
        {
            Dictionary<string, Dictionary<string, string>> items = new Dictionary<string, Dictionary<string, string>>();

            items.Add("Filtros",null);
            items.Add("Tipos",null);
            items.Add("Categorias",null);

            //Tipos de filtro
            Dictionary<string, string> tipos = new Dictionary<string,string>();
            tipos.Add("Radicado Entrada",TaxonomyNavigationHelper.GetQueryUrlByTerm(CustomSiteColumns.FIELD_DOCSET_KIND, GlobalConstants.METADATA_GROUP_NAME,GlobalConstants.METADATA_TERM_TIPOS, GlobalConstants.METADATA_TERM_TIPO_RADICADO_ENTRADA));
            tipos.Add("Radicado Salida", TaxonomyNavigationHelper.GetQueryUrlByTerm(CustomSiteColumns.FIELD_DOCSET_KIND, GlobalConstants.METADATA_GROUP_NAME, GlobalConstants.METADATA_TERM_TIPOS, GlobalConstants.METADATA_TERM_TIPO_RADICADO_SALIDA));
            tipos.Add("Radicado Interno", TaxonomyNavigationHelper.GetQueryUrlByTerm(CustomSiteColumns.FIELD_DOCSET_KIND, GlobalConstants.METADATA_GROUP_NAME, GlobalConstants.METADATA_TERM_TIPOS, GlobalConstants.METADATA_TERM_TIPO_INTERNO));
            tipos.Add("Radicado Informados", TaxonomyNavigationHelper.GetQueryUrlByTerm(CustomSiteColumns.FIELD_DOCSET_KIND, GlobalConstants.METADATA_GROUP_NAME, GlobalConstants.METADATA_TERM_TIPOS, GlobalConstants.METADATA_TERM_TIPO_INFORMADO));
            tipos.Add("Radicado VB", TaxonomyNavigationHelper.GetQueryUrlByTerm(CustomSiteColumns.FIELD_DOCSET_KIND, GlobalConstants.METADATA_GROUP_NAME, GlobalConstants.METADATA_TERM_TIPOS, GlobalConstants.METADATA_TERM_TIPO_VB));
            tipos.Add("Sin Radicado", TaxonomyNavigationHelper.GetQueryUrlByTerm(CustomSiteColumns.FIELD_DOCSET_KIND, GlobalConstants.METADATA_GROUP_NAME, GlobalConstants.METADATA_TERM_TIPOS, GlobalConstants.METADATA_TERM_TIPO_SIN_RADICADO));
            items["Tipos"] = tipos;

            //Categorías
            Dictionary<string, string> categorias = new Dictionary<string, string>();
            categorias.Add("Agendados", TaxonomyNavigationHelper.GetQueryUrlByTerm(CustomSiteColumns.FIELD_DOCUMENT_CATEGORY, GlobalConstants.METADATA_GROUP_NAME, GlobalConstants.METADATA_TERM_CATEGORY, GlobalConstants.METADATA_TERM_CATEGORY_RESPONDED));
            categorias.Add("Respondido V.B", TaxonomyNavigationHelper.GetQueryUrlByTerm(CustomSiteColumns.FIELD_DOCUMENT_CATEGORY, GlobalConstants.METADATA_GROUP_NAME, GlobalConstants.METADATA_TERM_CATEGORY, GlobalConstants.METADATA_TERM_CATEGORY_VOBO));
            categorias.Add("Por V.B", TaxonomyNavigationHelper.GetQueryUrlByTerm(CustomSiteColumns.FIELD_DOCUMENT_CATEGORY, GlobalConstants.METADATA_GROUP_NAME, GlobalConstants.METADATA_TERM_CATEGORY, GlobalConstants.METADATA_TERM_CATEGORY_AGENDADO));
            items["Categorias"] = categorias;

            return items;
        }
    }
}
